package action.entrenador.gesDeportista;

import DBMS.DataBaseManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import clases.RegistroDeportistaForm;
import java.util.ArrayList;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;

import ve.usb.cohesion.runtime.CohesionAction;


/**
 * 
 */
public class AccionesGestionar_Deportista extends CohesionAction {
    
/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_HomeEntrenador.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_HomeEntrenador(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_HomeEntrenador", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        

        return mapping.findForward(SALIDAS[salida]);
    }

/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_PreGestion_Deportista.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_PreGestion_Deportista(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_Gestion_Deportista", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        

        return mapping.findForward(SALIDAS[salida]);
    }

/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_PreAgregar_Deportista.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_PreAgregar_Deportista(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_BuscarUsuario", };
        final int SALIDA_0 = 0;
        final int SALIDA_1 = 1;

        int salida = SALIDA_0;
        

        return mapping.findForward(SALIDAS[salida]);
    }
}